var o = require("G");
cc.Class({
    extends: cc.Component,
    properties: {
        game: cc.Node,
        score: cc.Label,
    },
    retryBtn: function () {
        this.node.active = !1, cc.director.emit("clickSound"), this.game.getComponent("Game").start();
    },
    shareBtn: function () {
        o.Interface.share({}), cc.director.emit("clickSound");
    },
    onGoHome: function () {
        o.score = 0, cc.director.emit("clickSound"), cc.director.loadScene("gameHome");
    },
})